Skip to content

Fix Docker build failure by removing conflicting npm package install on Azure Linux - #406

Merged
BenjaminMichaelis merged 2 commits into
copilot/combine-dependabot-prs-and-update-packagesfrom
copilot/fix-with-copilot
Aug 12, 2026
Merged

Fix Docker build failure by removing conflicting npm package install on Azure Linux#406
BenjaminMichaelis merged 2 commits into
copilot/combine-dependabot-prs-and-update-packagesfrom
copilot/fix-with-copilot

Conversation

Copilot AI commented Aug 12, 2026

Copy link
Copy Markdown

The failing Actions run was caused by a dependency resolution conflict in the Docker build stage: npm pulled nodejs-npm (Node 20) while the image explicitly installs nodejs24. This PR removes the conflicting package install so the build can resolve dependencies consistently.

  • Root cause addressed

    • Build stage installed gawk nodejs24 npm in one tdnf command.
    • On Azure Linux 3.0, npm resolves to a Node 20-coupled package (nodejs-npm), conflicting with nodejs24.
  • Change made

    • Updated Dockerfile to install only:
      • gawk
      • nodejs24
    • Relies on the Node 24 distribution’s npm/runtime alignment rather than forcing a mismatched standalone npm package.
  • Diff summary

    - RUN ... tdnf install -y gawk nodejs24 npm
    + RUN ... tdnf install -y gawk nodejs24

Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues identified with Copilot in GitHub Actions Fix Docker build failure by removing conflicting npm package install on Azure Linux Aug 12, 2026
@BenjaminMichaelis
BenjaminMichaelis marked this pull request as ready for review August 12, 2026 14:48
@BenjaminMichaelis
BenjaminMichaelis merged commit 0c896cf into copilot/combine-dependabot-prs-and-update-packages Aug 12, 2026
1 check passed
@BenjaminMichaelis
BenjaminMichaelis deleted the copilot/fix-with-copilot branch August 12, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants